using UnityEngine;

namespace Utils
{
	public class DeviceUtils
	{
		public static bool CheckIfIsTablet()
		{
			float num = Screen.dpi;
			if (num == 0f)
			{
				num = 96f;
			}
			float num2 = Mathf.Sqrt(Screen.width * Screen.width + Screen.height * Screen.height) / num;
			return num2 >= 6f;
		}
	}
}
